package com.qst.rongxiaotong.mapper;


import com.qst.rongxiaotong.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
public interface FinanceMapper {
    List<Intention> selectIntentionByName(String name);

    int insertIntentionByName(Intention intention);

    int updateIntentionByName(Intention intention);

    int deleteIntentionByName(String name);

    Intention selectIntention(String name);

    List<Recommender> selectWithNoneIntention(String name);

    List<Recommender> selectAllRecommend(String name);

//ge人融资管理
    List<Recommender> selectRecommendFY();//fen页查询融资推荐人
    List<Finance> selectByFinance(Finance finance);//查询融资情况,显示我的融资信息

    Finance selectByPrimaryKey(Integer financeId);//根据Financeid查询融资情报,信息回显

    int deleteByPrimaryKey(Integer financeId);//根据Financeid删除融资情报

    int updateByPrimaryKeySelective(Finance record);//根据Financeid修改融资情报

    //dai款
    int insertSelective(Finance record);//个人贷款

    void insertMulti(Finance finance);//组合贷款

     Bank selectBankById(String bankId);

}